MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "query": {
        "pages": {
            "2146": {
                "pageid": 2146,
                "ns": 0,
                "title": "API",
                "revisions": [
                    {
                        "user": "PatrickGeorgi",
                        "timestamp": "2013-12-18T08:53:38Z",
                        "slots": {
                            "main": {
                                "contentmodel": "wikitext",
                                "contentformat": "text/x-wiki",
                                "*": "coreboot provides a couple of means to pass information on to the OS and payloads.\n\n== Tables ==\n\n* [[#coreboot_table|coreboot table]]\n* [[Creating_Valid_IRQ_Tables|IRQ table]]\n* [[Glossary#MPTable|MP table]]\n* [[ACPI|ACPI tables]]\n* Legacy BIOS interrupt calls (with [[SeaBIOS]])\n\n== Code execution ==\n\ncoreboot passes control to a [[payloads|payload]] or OS in form of a self contained ELF binary.\n\n== coreboot table ==\n\nThe one central data structure in coreboot is the '''coreboot table'''. It is an extensible data structure providing the information gathered by coreboot to payloads and operating systems.\n\nThe table usually sits in memory around address '''0x500'''. FIXME: describe how to search for the table correctly.\n\nThe table header looks like this:\n\n<source lang=\"C\">\nstruct lb_header\n{\n        uint8_t  signature[4]; /* LBIO */\n        uint32_t header_bytes;\n        uint32_t header_checksum;\n        uint32_t table_bytes;\n        uint32_t table_checksum;\n        uint32_t table_entries;\n};\n</source>\n\nEvery entry in the boot enviroment list will correspond to a boot info record. Encoding both type and size. The type is obviously so you can tell what it is. The size allows you to skip that boot enviroment record if you don't know what it is. This allows forward compatibility with records not yet defined.\n\n<source lang=\"C\">\nstruct lb_record {\n        uint32_t tag;           /* tag ID */\n        uint32_t size;          /* size of record (in bytes) */\n};\n</source>\n\nEntry Types:\n\n<source lang=\"C\">\n#define LB_TAG_UNUSED            0x0000\n#define LB_TAG_MEMORY            0x0001\n#define LB_TAG_HWRPB             0x0002\n#define LB_TAG_MAINBOARD         0x0003\n#define LB_TAG_VERSION           0x0004\n#define LB_TAG_EXTRA_VERSION     0x0005\n#define LB_TAG_BUILD             0x0006\n#define LB_TAG_COMPILE_TIME      0x0007\n#define LB_TAG_COMPILE_BY        0x0008\n#define LB_TAG_COMPILE_HOST      0x0009\n#define LB_TAG_COMPILE_DOMAIN    0x000a\n#define LB_TAG_COMPILER          0x000b\n#define LB_TAG_LINKER            0x000c\n#define LB_TAG_ASSEMBLER         0x000d\n// 0x000e is used by device tree entry?\n#define LB_TAG_SERIAL            0x000f\n#define LB_TAG_CONSOLE           0x0010\n#define LB_TAG_FORWARD           0x0011\n#define LB_TAG_FRAMEBUFFER       0x0012\n\n#define LB_TAG_CMOS_OPTION_TABLE 200\n#define LB_TAG_OPTION            201\n#define LB_TAG_OPTION_ENUM       202\n#define LB_TAG_OPTION_DEFAULTS   203\n#define LB_TAG_OPTION_CHECKSUM   204\n</source>"
                            }
                        },
                        "comment": "/* Tables */"
                    }
                ]
            },
            "1017": {
                "pageid": 1017,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "Stepan",
                        "timestamp": "2008-01-13T12:35:19Z",
                        "slots": {
                            "main": {
                                "contentmodel": "wikitext",
                                "contentformat": "text/x-wiki",
                                "*": "#redirect [[Welcome to coreboot]]"
                            }
                        },
                        "comment": "Redirecting to [[Welcome to coreboot]]"
                    }
                ]
            }
        }
    }
}